#include "FlipFlop.h"

using namespace std;

FlipFlop::FlipFlop(void)
{
}

FlipFlop::~FlipFlop(void)
{
}

bool FlipFlop::getIsFlipFlop(){
	 if (GatterTyp::name == "dff")
	 {	return true;}
	 else
	 {	return false;}
}

short FlipFlop::getSetupTime(){
	return this->setupTime;
}

short FlipFlop::getHoldTime(){
	return this->holdTime;
}

short FlipFlop::getLastKapazitaetClock(){
	return this->lastKapazitaetClock;
}

void FlipFlop::setSetupTime(short st){
	this->setupTime = st;
}

void FlipFlop::setHoldTime(short ht){
	this->holdTime = ht;
}

void FlipFlop::setLastKapazitaetClock(short lkc){
	this->lastKapazitaetClock = lkc;
}

short FlipFlop::getClockInput(){
	return this->clk;
}

void FlipFlop::setClockInput(short et){
	this->clk = et;
}